package com.practice.crud.service;

import com.practice.crud.bean.Book;

import java.util.List;

public interface BookService {
    List<Book> getAllBooks();

    void addBook(Book book);

    void deleteBookById(Integer id);

    void updateBook(Book book);

    Book queryBookById(Integer id);

    List<Book> queryBookBySearch(String message);
}
